package com.xyz.graph.service.impl;

import com.xyz.graph.handler.Data2GraphServiceCallable;
import com.xyz.graph.pojo.gdata.AddVertexParamPojo;
import com.xyz.graph.pojo.gdata.edgeParam.AddEdgeParamPojo;
import com.xyz.graph.service.Data2GraphService;
import com.xyz.graph.service.GDataService;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.*;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;

@Slf4j
@Service
public class Data2GraphServiceImpl implements Data2GraphService {

//    @Autowired
//    private DataTask dataTask;

    @Autowired
    private GDataService gDataService;


    public String pdnull(String source,String target){
        return Optional.ofNullable(source).orElse(target);
    }

    @Override
    public void startPeople2Graph(long page) {
        //todo 数据源后续在定义
    }


}
